package com.aaa.service.impl;

import com.aaa.dao.BookMapper;
import com.aaa.entity.Book;
import com.aaa.service.BookServiceDao;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class BookServiceImpl extends ServiceImpl<BookMapper, Book> implements BookServiceDao {
    @Resource
    BookMapper bookMapper;

    @Override
    public List<Map<String, Object>> findBook(String bName,String type) {
        //@@@
        return bookMapper.findBook(bName,type);
    }


}
